package com.sumainfor.pc.epc.controller.MarketFeign;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.service.impl.FeignDecorateServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述:
 * 装修套餐
 * @Auther: zhlu
 * @Date: 2018/12/17 11:17
 * @Description:
 */
@RestController
@RequestMapping("/marketfeign/decorate")
public class FeignDecorateController {

    @Autowired
    FeignDecorateServiceImpl feignDecorateServiceImpl;

    /**
     * 功能描述:
     *
     * @Author zhlu
     * @Description //TODO
     * @Date 2018/12/17 11:20
     */
    @ResponseBody
    @RequestMapping(value = "/getFeignDecorateList",method = RequestMethod.GET)
    public JsonResult getFeignDecorateList(){
        JsonResult result=new JsonResult();
        result.put(feignDecorateServiceImpl.getFeignDecorateList());
        return result;
    }

}
